home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 August / MW 8 2003 CD1.iso / Inside Macworld / Product News / gimp-1.2.4.sit / gimp-1.2.4 / devel-docs / libgimp / sgml / gimpmessage.sgml < prev    next >
Encoding:
Text File  |  2003-05-20  |  3.5 KB  |  110 lines

  1. <refentry id="libgimp-gimpmessage" revision="19 Jan 2001">
  2. <refmeta>
  3. <refentrytitle>gimpmessage</refentrytitle>
  4. <manvolnum>3</manvolnum>
  5. <refmiscinfo>LIBGIMP Library</refmiscinfo>
  6. </refmeta>
  7.  
  8. <refnamediv>
  9. <refname>gimpmessage</refname><refpurpose></refpurpose>
  10. </refnamediv>
  11.  
  12. <refsynopsisdiv><title>Synopsis</title>
  13. <synopsis>
  14.  
  15.  
  16.  
  17. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-message">gimp_message</link>                    (<link linkend="gchar">gchar</link> *message);
  18. <link linkend="GimpMessageHandlerType">GimpMessageHandlerType</link> <link linkend="gimp-message-get-handler">gimp_message_get_handler</link>
  19.                                             (void);
  20. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-message-set-handler">gimp_message_set_handler</link>        (<link linkend="GimpMessageHandlerType">GimpMessageHandlerType</link> handler);
  21. </synopsis>
  22. </refsynopsisdiv>
  23.  
  24.  
  25.  
  26.  
  27.  
  28. <refsect1>
  29. <title>Description</title>
  30. <para>
  31.  
  32. </para>
  33. </refsect1>
  34.  
  35. <refsect1>
  36. <title>Details</title>
  37. <refsect2>
  38. <title><anchor id="gimp-message">gimp_message ()</title>
  39. <programlisting><link linkend="gboolean">gboolean</link>    gimp_message                    (<link linkend="gchar">gchar</link> *message);</programlisting>
  40. <para>
  41. Displays a dialog box with a message.
  42. </para>
  43. <para>
  44. Displays a dialog box with a message. Useful for status or error
  45. reporting.</para>
  46. <para>
  47.  
  48. </para><informaltable pgwide=1 frame="none" role="params">
  49. <tgroup cols="2">
  50. <colspec colwidth="2*">
  51. <colspec colwidth="8*">
  52. <tbody>
  53. <row><entry align="right"><parameter>message</parameter> :</entry>
  54. <entry> Message to display in the dialog.
  55. </entry></row>
  56. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  57. </entry></row>
  58. </tbody></tgroup></informaltable></refsect2>
  59. <refsect2>
  60. <title><anchor id="gimp-message-get-handler">gimp_message_get_handler ()</title>
  61. <programlisting><link linkend="GimpMessageHandlerType">GimpMessageHandlerType</link> gimp_message_get_handler
  62.                                             (void);</programlisting>
  63. <para>
  64. Returns the current state of where warning messages are displayed.
  65. </para>
  66. <para>
  67. This procedure returns the way g_message warnings are displayed.
  68. They can be shown in a dialog box or printed on the console where
  69. gimp was started.</para>
  70. <para>
  71.  
  72. </para><informaltable pgwide=1 frame="none" role="params">
  73. <tgroup cols="2">
  74. <colspec colwidth="2*">
  75. <colspec colwidth="8*">
  76. <tbody>
  77. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The current handler type.
  78. </entry></row>
  79. </tbody></tgroup></informaltable></refsect2>
  80. <refsect2>
  81. <title><anchor id="gimp-message-set-handler">gimp_message_set_handler ()</title>
  82. <programlisting><link linkend="gboolean">gboolean</link>    gimp_message_set_handler        (<link linkend="GimpMessageHandlerType">GimpMessageHandlerType</link> handler);</programlisting>
  83. <para>
  84. Controls where warning messages are displayed.
  85. </para>
  86. <para>
  87. This procedure controls how g_message warnings are displayed. They
  88. can be shown in a dialog box or printed on the console where gimp
  89. was started.</para>
  90. <para>
  91.  
  92. </para><informaltable pgwide=1 frame="none" role="params">
  93. <tgroup cols="2">
  94. <colspec colwidth="2*">
  95. <colspec colwidth="8*">
  96. <tbody>
  97. <row><entry align="right"><parameter>handler</parameter> :</entry>
  98. <entry> The new handler type.
  99. </entry></row>
  100. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  101. </entry></row>
  102. </tbody></tgroup></informaltable></refsect2>
  103.  
  104. </refsect1>
  105.  
  106.  
  107.  
  108.  
  109. </refentry>
  110.